package com.chuangyang.fixboxlib.bean;

public class LocationEntity {

	private String longitude;
	private String latitude;
	private String altitude; // not achieve this in baidu sdk location 4.2
	private String radius;

	private long localtime; // baidu location server time;
	private String gpstime;  //

	private String address;
	private String floor;
	private String direction; // 获得手机方向，范围【0-360】，手机上部正朝向北的方向为0°方向
	private String province;
	private String city;
	private String district;
	private String street;
	private String streetNumber;

	private int operators; // OPERATORS_TYPE_MOBILE=1; OPERATORS_TYPE_UNICOM=2;
							// OPERATORS_TYPE_TELECOMU=3;
							// OPERATORS_TYPE_UNKONW=0;

	private int lockType;//

	// 61 ： GPS定位结果
	// 62 ： 扫描整合定位依据失败。此时定位结果无效。
	// 63 ： 网络异常，没有成功向服务器发起请求。此时定位结果无效。
	// 65 ： 定位缓存的结果。
	// 66 ： 离线定位结果。通过requestOfflineLocaiton调用时对应的返回结果
	// 67 ： 离线定位失败。通过requestOfflineLocaiton调用时对应的返回结果
	// 68 ： 网络连接失败时，查找本地离线定位时对应的返回结果
	// 161： 表示网络定位结果
	// 162~167： 服务端定位失败
	// 502：key参数错误
	// 505：key不存在或者非法
	// 601：key服务被开发者自己禁用
	// 602：key mcode不匹配
	// 501～700：key验证失败

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getLongitude() {
		return longitude;
	}

	public void setLongitude(String longitude) {
		this.longitude = longitude;
	}

	public String getLatitude() {
		return latitude;
	}

	public void setLatitude(String latitude) {
		this.latitude = latitude;
	}


	public String getAltitude() {
		return altitude;
	}

	public void setAltitude(String altitude) {
		this.altitude = altitude;
	}

	public String getFloor() {
		return floor;
	}

	public void setFloor(String floor) {
		this.floor = floor;
	}

	public String getDirection() {
		return direction;
	}

	public void setDirection(String direction) {
		this.direction = direction;
	}

	public String getProvince() {
		return province;
	}

	public void setProvince(String province) {
		this.province = province;
	}

	public String getCity() {
		return city;
	}

	public void setCity(String city) {
		this.city = city;
	}

	public String getDistrict() {
		return district;
	}

	public void setDistrict(String district) {
		this.district = district;
	}

	public String getStreet() {
		return street;
	}

	public void setStreet(String street) {
		this.street = street;
	}

	public String getStreetNumber() {
		return streetNumber;
	}

	public void setStreetNumber(String streetNumber) {
		this.streetNumber = streetNumber;
	}

	public int getOperators() {
		return operators;
	}

	public void setOperators(int operators) {
		this.operators = operators;
	}

	public int getLockType() {
		return lockType;
	}

	public void setLockType(int lockType) {
		this.lockType = lockType;
	}

	public String getGpstime() {
		return gpstime;
	}

	public void setGpstime(String gpstime) {
		this.gpstime = gpstime;
	}

	public long getLocaltime() {
		return localtime;
	}

	public void setLocaltime(long localtime) {
		this.localtime = localtime;
	}

	public String getRadius() {
		return radius;
	}

	public void setRadius(String radius) {
		this.radius = radius;
	}

	@Override
	public String toString() {
		return "LocationEntity [longitude=" + longitude + ", latitude="
				+ latitude + ", altitude=" + altitude + ", radius=" + radius
				+ ", localtime=" + localtime + ", gpstime=" + gpstime
				+ ", address=" + address + ", floor=" + floor + ", direction="
				+ direction + ", province=" + province + ", city=" + city
				+ ", district=" + district + ", street=" + street
				+ ", streetNumber=" + streetNumber + ", operators=" + operators
				+ ", lockType=" + lockType + "]";
	}

}
